$(function(){
	var row = $('#datagrid').datagrid('getSelected');
	
	datagrid=$('#history-datagrid').datagrid({
	    url: contextpath+'/report/formHis/query?formId='+row.id,
	    width: 498,
	    columns: [[
	                {field: 'name', title: 'SQL语句名', width: 100},
	                {field: 'description', title: '功能描述 ', width: 100},
	                {field: 'createTime', title: '建立时间', width: 100}
	            ]]
	});
}
);